finding an equation given a table of values